<!doctype html>
<html>
<head>
{include file="user/user_top.tpl"}
<link rel="stylesheet" type="text/css" href="/static/css/login_min.css?v={$smarty.const.UNCLONE_VERSION}">
</head>
<body class="login">
<!--[if lt IE 8]>
	<script>window.location.href='/is_browser';</script>
<![endif]-->
{include file="user/user_header.tpl"}
<div class="main_wrap">
	<div class="user_login">
		<h2 class="login_title">云端上的<span>数据安全专家</span></h2>
		<h3 class="login_title_en">Cloud data security<span>experts</span></h3>
		<form action="/login/run_login" method="post" id="login_form" autocomplete="off" onsubmit="return false;">
		<div class="form_error" id="form_error"></div>
		<div class="formbox">
			<div class="login_form_bg {if !empty($show_vcode) }login_form_bg2{/if}"></div>
			<div class="item">
				<div class="write">
					<input class="form_control" type="text" name="account" id="email" tabindex="1" autocomplete="off" placeholder="请输入手机号/邮箱账号">
					<i class="login_icons email_icon"></i>
				</div>
			</div>
			<div class="item">
				<div class="write clearfix">
					<input class="form_control password" type="password" name="password" id="password" tabindex="2" autocomplete="off" placeholder="请输入密码">
					<i class="login_icons pass_icon"></i>
				</div>
			</div>
			
			<div class="item item_code">
				{if !empty($show_vcode) }
				<label class="field" for="code">验证码</label>
				<input class="form_control" type="text" name="code" id="code" tabindex="3" value="" autocomplete="off">
				<img id="js_img_code" class="img_code" src="/login/code" alt="" />
				{/if}
			</div>
			
			<div class="item">
				<strong class="auto_login">
					<i class="user_icons checkbox_icon js_checkbox_icon" tabindex="4"></i>
					<input type="checkbox" class="hidden_box" id="auto_login" name="auto_login" value="1" autocomplete="off">
					<span class="js_checkbox_icon">下次自动登录</span>
				</strong>
				<a href="/find_pwd" class="color_blue fr forgot_pwd" tabindex="5">忘记密码？</a>
			</div>
			<div class="item">
				<button class="red_btn login_btn" id="login_btn" tabindex="6">登录</button>
			</div>
			<div class="item to_btn">
				<a class="simple_btn" href="/register" tabindex="7">注册申请<i class="user_icons"></i></a>
				{if ! empty($social)}
				<dl class="oauth-list">
					<dd><a href="/auth/session/qq" title="QQ登录"><img src="/static/img/oauth2.0/qq.png" /></a></dd>
					<dd><a href="/auth/session/weixin" title="微信登录"><img src="/static/img/oauth2.0/weixin.png" /></a></dd>
				</dl>
				{/if}
			</div>
		</div>
		</form>
	</div>
</div>
<img class="login_bg" src="/static/img/user/login_bg.gif">

{include file="user/user_footer.tpl"}
